package com.yuntai.pms.model.dto;

import com.alibaba.fastjson.JSON;
import com.yuntai.pms.model.param.PageParam;

import java.io.Serializable;

/**
 * @ClassName: ConfigPropertiesDto
 * @Description: ConfigProperties数据传输组件
 * @author 龚伟鹏
 * @date 2017年6月16日 下午1:31:49
 */
public class AipConfigRecordDto extends PageParam implements Serializable{

	private static final long serialVersionUID = -7131502536766242090L;

	/** 属性配置ID，主键 */
	private Long id;
	
	/** 业务资源服务名 */
	private String projectName;
	
	/** 分组名 */
	private String groupName;
	
	/** properties中的key */
	private String pKey;
	
	/** properties中的value */
	private String pValue;
	
	/** 描述 */
	private String description;
	
	/** 创建时间范围向前 */
	private String createTimeStart;
	
	/** 创建时间范围向后 */
	private String createTimeEnd;
	
	/** 配置记录修改后，配置中心是否已读： 0未读 1已读*/
	private String motified;
	
	/** 配置修改类型 ：删除为1，新增为2，更新为3*/
	private String type;
	
	public String getGroupName() {
		return groupName;
	}

	public String getDescription() {
		return description;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public Long getId() {
		return id;
	}

	public String getpKey() {
		return pKey;
	}

	public String getpValue() {
		return pValue;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setpKey(String pKey) {
		this.pKey = pKey;
	}

	public void setpValue(String pValue) {
		this.pValue = pValue;
	}

	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}

	public String getCreateTimeStart() {
		return createTimeStart;
	}

	public String getCreateTimeEnd() {
		return createTimeEnd;
	}
	
	public void setCreateTimeStart(String createTimeStart) {
		this.createTimeStart = createTimeStart;
	}

	public void setCreateTimeEnd(String createTimeEnd) {
		this.createTimeEnd = createTimeEnd;
	}

	public String getMotified() {
		return motified;
	}

	public String getType() {
		return type;
	}

	public void setMotified(String motified) {
		this.motified = motified;
	}

	public void setType(String type) {
		this.type = type;
	}

	
	
}
